.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.app-header {
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.welcome-text {
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.welcome-text svg {
  margin-right: 8px;
  color: #3498db;
}

.header-buttons {
  display: flex;
  gap: 12px;
}

.settings-button,
.logout-button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.settings-button {
  background-color: #3498db;
  color: white;
}

.settings-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.logout-button {
  background-color: #f5f5f5;
  color: #e74c3c;
  border: 1px solid #e0e0e0;
}

.logout-button:hover {
  background-color: #e74c3c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.app-main {
  flex: 1;
  overflow: auto;
  background-color: #f5f5f5;
  padding: 15px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

/* 登录页面样式 */
.login-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-title {
  text-align: center;
  margin-bottom: 24px;
  color: #333;
  font-size: 24px;
}

.controls {
  margin-bottom: 20px;
}

.data-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.data-panel h3 {
  margin: 0 0 15px 0;
  color: #333;
}

.location-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  max-height: 300px;
  overflow-y: auto;
}

.location-item {
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fafafa;
}

.location-item div {
  margin-bottom: 5px;
  color: #666;
}

.location-item div:last-child {
  margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 8px 0;
  }

  .welcome-text {
    font-size: 1rem;
  }

  .header-buttons {
    width: 100%;
    justify-content: center;
  }

  .settings-button,
  .logout-button {
    flex: 1;
    max-width: 140px;
    padding: 10px 16px;
    font-size: 13px;
  }
} 